package com.model;



import java.io.Serializable;
import java.util.Date;

/**
 * AbstractUser entity provides the base persistence definition of the Users
 * entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class Users implements Serializable {

    private int userId;
    private double userBalance;
    private String password;
    private String email;
    private String phone;
    private String userName;
    private int phoneStatus;
    private String realName;
    private Date createTime;
    private String createTimeStr;
    private Date updateTime;
    private String updateTimeStr;
    private String aliasName;
    private int bankStatus;
    private int emailStatus;
    private String agentCode;
    private int userLevel;
    private String qq;
    private String birthday;
    private int sex;
    private int status;                 //0 未激活 1 激活 2 暂停 3 危险账号
    private String withdrawalPassword;
    private String address;
    private int depositGroupId;
    private String province;
    private String city;
    private String area;
    private int securityLevel;  //安全等级 1:表示弱  2：中等 3：强
    private String lastloginIp; //最后登录的ip
    private String remark;

    private int parentId;
    private int isagent;

    private double totalWithdrawal;
    private double totalDeposit;
    private int loginTimes;
    private String oldPassword;
    private String newPassword;
    private String phoneVerifyCode;
    private String emailVerifyCode;
    private double totalBonus;
    private double totalAjustAmount;
    private double preRiskAmount;
    private String registerIp;

    private int unloginDays;
    private String currency;
    private String addressDetails;
    private double hgBalance;
    private String hgGameLobbyUrl;
    private String gameType;

    public String getGameType() {
        return gameType;
    }

    public void setGameType(String gameType) {
        this.gameType = gameType;
    }

    public String getHgGameLobbyUrl() {
        return hgGameLobbyUrl;
    }

    public void setHgGameLobbyUrl(String hgGameLobbyUrl) {
        this.hgGameLobbyUrl = hgGameLobbyUrl;
    }

    public double getHgBalance() {
        return hgBalance;
    }

    public void setHgBalance(double hgBalance) {
        this.hgBalance = hgBalance;
    }

    public double getPreRiskAmount() {
        return preRiskAmount;
    }

    public void setPreRiskAmount(double preRiskAmount) {
        this.preRiskAmount = preRiskAmount;
    }

    public String getAddressDetails() {
        return addressDetails;
    }

    public void setAddressDetails(String addressDetails) {
        this.addressDetails = addressDetails;
    }

    public int getUnloginDays() {
        return unloginDays;
    }

    public void setUnloginDays(int unloginDays) {
        this.unloginDays = unloginDays;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public String getRegisterIp() {
        return registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }


    public double getTotalAjustAmount() {
        return totalAjustAmount;
    }

    public void setTotalAjustAmount(double totalAjustAmount) {
        this.totalAjustAmount = totalAjustAmount;
    }

    public double getTotalBonus() {
        return totalBonus;
    }

    public void setTotalBonus(double totalBonus) {
        this.totalBonus = totalBonus;
    }


    public String getEmailVerifyCode() {
        return emailVerifyCode;
    }

    public void setEmailVerifyCode(String emailVerifyCode) {
        this.emailVerifyCode = emailVerifyCode;
    }

    public String getPhoneVerifyCode() {
        return phoneVerifyCode;
    }

    public void setPhoneVerifyCode(String phoneVerifyCode) {
        this.phoneVerifyCode = phoneVerifyCode;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }


    public double getTotalWithdrawal() {
        return totalWithdrawal;
    }

    public void setTotalWithdrawal(double totalWithdrawal) {
        this.totalWithdrawal = totalWithdrawal;
    }

    public double getTotalDeposit() {
        return totalDeposit;
    }

    public void setTotalDeposit(double totalDeposit) {
        this.totalDeposit = totalDeposit;
    }

    public int getLoginTimes() {
        return loginTimes;
    }

    public void setLoginTimes(int loginTimes) {
        this.loginTimes = loginTimes;
    }

    public int getIsagent() {
        return isagent;
    }

    public void setIsagent(int isagent) {
        this.isagent = isagent;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }


    public String getLastloginIp() {
        return lastloginIp;
    }

    public void setLastloginIp(String lastloginIp) {
        this.lastloginIp = lastloginIp;
    }

    public int getSecurityLevel() {
        securityLevel = bankStatus + emailStatus + bankStatus;
        return securityLevel;
    }

    public void setSecurityLevel(int securityLevel) {

        this.securityLevel = securityLevel;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public int getDepositGroupId() {
        return depositGroupId;
    }

    public void setDepositGroupId(int depositGroupId) {
        this.depositGroupId = depositGroupId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getWithdrawalPassword() {
        return withdrawalPassword;
    }

    public void setWithdrawalPassword(String withdrawalPassword) {
        this.withdrawalPassword = withdrawalPassword;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Users() {
    }

    ;

    public Users(String userName, String userBalance, String email, String realName, String aliasName, int userLevel, String phone, int sex) {
        this.userName = userName;
        this.email = email;
        this.realName = realName;
        this.aliasName = aliasName;
        this.userLevel = userLevel;
        this.phone = phone;
        this.sex = sex;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public double getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(double userBalance) {
        this.userBalance = userBalance;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getPhoneStatus() {
        return phoneStatus;
    }

    public void setPhoneStatus(int phoneStatus) {
        this.phoneStatus = phoneStatus;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreateTimeStr() {
        return createTimeStr;
    }

    public void setCreateTimeStr(String createTimeStr) {
        this.createTimeStr = createTimeStr;
    }

    public String getUpdateTimeStr() {
        return updateTimeStr;
    }

    public void setUpdateTimeStr(String updateTimeStr) {
        this.updateTimeStr = updateTimeStr;
    }

    public void setCreateTime(Date createTime) {

        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public int getBankStatus() {
        return bankStatus;
    }

    public void setBankStatus(int bankStatus) {
        this.bankStatus = bankStatus;
    }

    public int getEmailStatus() {
        return emailStatus;
    }

    public void setEmailStatus(int emailStatus) {
        this.emailStatus = emailStatus;
    }

    public String getAgentCode() {
        return agentCode;
    }

    public void setAgentCode(String agentCode) {
        this.agentCode = agentCode;
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

}